/**
 * Created by Jie on 2017/1/12.
 */

var page_app_word = $$('.page-app-word');
var opId = 0;
page_app_word.on('refresh', function (e) {
    setTimeout("initRefresh()",1500);
});
function initRefresh() {
    app.pullToRefreshDone();
}

var viewWord = app.addView('#app-word',{
    dynamicNavbar: true
});

function wordInfo(_id) {
    opId = _id;
    viewWord.router.loadPage('page/word-info.html');
}